import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;

public class Task {

    public static void main(String[] args) throws IOException {

        File sourceFolder = new File("lesson9/task7/resource/src_dir");
        File targetFolder = new File("lesson9/task7/resource/dst_dir");

        // Create the target folder if it doesn't exist
        if (!targetFolder.exists()) {
            targetFolder.mkdirs();
        }

        // Recursively copy the contents of the source folder to the target folder
        copyFolder(sourceFolder, targetFolder);
    }

    public static void copyFolder(File sourceFolder, File targetFolder) throws IOException {
        /* TODO */
    }
}